package com.wgz.sbm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wgz.sbm.bean.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 王宫泽
 * @date 2021/4/11
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    @Select("select * from user")
    public List<User> findAllUser();
    User findUserById(String s);
}
